package com.cmc.cloud.cmclink.doc.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * {table.classComment}Response VO
 *
 * @author lzp
 */
@Schema(description = "管理后台 - 航线进出口联系人信息 Response VO")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class AgentContactExcelRespVO {

    @Schema(description = "航线代码")
    @ExcelProperty(value = "laneCode",order = 1)
    private String laneCode;

    @Schema(description = "港口代码")
    @ExcelProperty(value = "portCode",order = 2)
    private String portCode;

    @Schema(description = "进出口类型 字典类型:import_export_code   进口:IM  出口:EX", example = "1")
    @ExcelProperty(value = "datatype",order = 3)
    private String datatype;

    @Schema(description = "数据内容本地")
    @ExcelProperty(value = "contentLocal",order = 4)
    private String contentLocal;

    @Schema(description = "数据内容英文")
    @ExcelProperty(value = "contentEn",order = 5)
    private String contentEn;

    @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ExcelProperty(value = "updateTime",order = 6)
    private Date updateTime;
}
